// C language to convert Decimal to binary number 
// using bitwise operator 
// Size of an integer is assumed to be 32 bits 

#include <stdio.h> 

// Function that convert Decimal to binary 
int decToBinary(int n) 
{ 
	// Size of an integer is assumed to be 32 bits 
	for (int i = 31; i >= 0; i--) { 
		int k = n >> i; // right shift 
		if (k & 1) // helps us know the state of first bit 
			printf("1"); 
		else printf("0"); 
	} 
} 

// driver code 
int main() 
{ 
	int n = 32; 
	decToBinary(n); 
}
